<?php
	include("header_admin.html");
	include("connect.php");
	$pilih=mysql_select_db("uwika_krs",$conn);

	echo "<br>";
	echo "&nbsp;&nbsp;";
	echo "Lihat data toleransi limit kuota kelas pada :";
	echo "<BR><br>";
	echo "<form name=\"form1\" method=\"get\" action=\"tolkuota2.php\">";
	echo "<table width=\"500\" border=\"0\">";
	echo "<tr>";
	echo "<td width=\"100\"><p align=right>Semester : </p></td>";
	echo "<td><select name=\"sel_sesi\">";
	echo "<option>GASAL</option><option>GENAP</option>";
    echo "</select>";
	echo "</tr>";
	echo "<tr>";
	echo "<td width=\"100\"><p align=right>Periode : </p></td>";
	echo "<td><select name=\"sel_periode\">";
	$sqlstr="SELECT distinct periode FROM penawaran";
	$hasil=mysql_query($sqlstr);
	$row = mysql_fetch_row($hasil);
    do {
		list($periode) = $row;
		echo "<option>";
		echo $periode;
		echo "</option>";
	} while ($row=mysql_fetch_row($hasil));
    echo "</select>";
	echo "</tr>";
	echo "<tr>";
	echo "<td></td><td><input type=\"submit\" name=\"cmdlihat\" value=\"Lihat\">";
	echo "</table>";
	echo "</form>";

	include("footer.php");
?>